package com.xy.network.bean;

import java.io.Serializable;

/**
 * @ClassName RetrofitBean
 * @Author xy
 * @Date 2021/8/3 15:30
 * @Description 请求接口返回的基类（用kotlin这个基类会报错 不知道什么原因）
 */
public class ResponseBean<T> implements Serializable {
    private String code;
    private String msg;
    private T data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
